package com.qf.j2105.service.impl;


import com.qf.j2105.mapper.FindGzByMapper;
import com.qf.j2105.po.BygzBy;
import com.qf.j2105.service.FindGzByService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FindGzByServiceImpl implements FindGzByService {
    //注入dao
    @Resource
    private FindGzByMapper findGzByMapper;

    @Override
    public List<BygzBy> findAllGzBy() {
        List<BygzBy> allGzBy = findGzByMapper.findAllGz();
        if (allGzBy != null){
            return allGzBy;
        }
        return null;
    }
}
